Set Line Tracking PID
Function:
go.set_trace_pid(p,i,d)
Description: it is used together with setting line tracking speed to improve the line patrol effect of Magician Go
Required parameter:
- p: value of p (proportional); data type: float; recommended value: 0.5
- i: value of i (integral); data type: float; recommended value: 0
- d: value of d (differential); data type: float; recommended value: 0.5
- Return:
- True: The command has been finished.
- False: The command has not been finished.
Example
go.set_trace_pid(p=0.5,i=0,d=0.5)Set Line Tracking PID.